package com.ysd.entity;

public class News {
	private int newsId;
	private String newsName;
	private String newsTime;
	private String newsContent;
	private int newsCategoryId;
	private String newsClassIficationName;//系列名称
	public int getNewsId() {
		return newsId;
	}
	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}
	public String getNewsName() {
		return newsName;
	}
	public void setNewsName(String newsName) {
		this.newsName = newsName;
	}
	public String getNewsTime() {
		return newsTime;
	}
	public void setNewsTime(String newsTime) {
		this.newsTime = newsTime;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public int getNewsCategoryId() {
		return newsCategoryId;
	}
	public void setNewsCategoryId(int newsCategoryId) {
		this.newsCategoryId = newsCategoryId;
	}
	public String getNewsClassIficationName() {
		return newsClassIficationName;
	}
	public void setNewsClassIficationName(String newsClassIficationName) {
		this.newsClassIficationName = newsClassIficationName;
	}
	@Override
	public String toString() {
		return "News [newsId=" + newsId + ", newsName=" + newsName + ", newsTime=" + newsTime + ", newsContent="
				+ newsContent + ", newsCategoryId=" + newsCategoryId + ", newsClassIficationName="
				+ newsClassIficationName + "]";
	}
	public News(int newsId, String newsName, String newsTime, String newsContent, int newsCategoryId,
			String newsClassIficationName) {
		super();
		this.newsId = newsId;
		this.newsName = newsName;
		this.newsTime = newsTime;
		this.newsContent = newsContent;
		this.newsCategoryId = newsCategoryId;
		this.newsClassIficationName = newsClassIficationName;
	}
	public News() {
		super();
	}
	public News(int newsId, String newsName, String newsTime, String newsContent, int newsCategoryId) {
		super();
		this.newsId = newsId;
		this.newsName = newsName;
		this.newsTime = newsTime;
		this.newsContent = newsContent;
		this.newsCategoryId = newsCategoryId;
	}
	
}
